Bug 1808118: Implemented operator log level controller#602
Bug 1808118: Implemented operator log level controller#602openshift-merge-robot merged 2 commits intoopenshift:masterfrom ricardomaraschini:bz-1808118-4
Conversation
|
@ricardomaraschini: This pull request references Bugzilla bug 1808118, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest |
|
/assign @dmage |
|
/retest |
| case operatorapiv1.Debug, operatorapiv1.Trace, operatorapiv1.TraceAll: | ||
| return "debug" | ||
| default: | ||
| return "info" |
There was a problem hiding this comment.
From the telemetry, all customers (who send config.imageregistry) have logging=2. So I'd rather select the maximum of both, not minimum.
There was a problem hiding this comment.
Changed this, PTAL. Basically, if Loglevel is set to operatorapiv1.Debug, operatorapiv1.Trace or operatorapiv1.TraceAll we set it to debug, otherwise (operatorapiv1.Normal) we fall back to Logging (but this time if it is zero we return "info" instead of "error" as before)
LogLevel controller keeps track of Operator log level specified through Spec.OperatorLogLevel.
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dmage, ricardomaraschini The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@ricardomaraschini: All pull requests linked via external trackers have merged: Bugzilla bug 1808118 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Implemented controller to monitor and sync changes on Spec.OperatorLogLevel